package org.app.Service;

import org.app.Entity.ExercisePlan;
import org.app.Entity.Save;
import org.app.Entity.comm.Result;

import java.util.List;

public interface IPersonalExercisePlanService {
    Result<List<ExercisePlan>> listExercisePlanByCIDInTwoDays(String c_id);
    Result<ExercisePlan> listExercisePlanByPID(String p_id);
    Result<Integer> createExercisePlan(List<ExercisePlan> exercisePlanList,String save_id);
//    Result<Integer> createStrengthData(List<StrengthData> strengthDataList,String p_id,String save_id);
//    Result<Integer> createNewTable(List<NewTable> newTableList,String p_id,String save_id);

    Result<Integer> updateExercisePlan(ExercisePlan exercisePlan);
    Result<Integer> deleteExercisePlan(String p_id);
    Result<Integer> finishExercisePlan(String p_id,String c_id);

    Result<Save> listSave(String id);
    Result<String> savePlans(Save save);
//    Result<Integer> saveStrengthData(List<SaveSD> dataList, String save_id);
//    Result<Integer> saveNewTable(List<SaveTable> tableList, String save_id);
    Result<Integer> updateSave(Save save);
//    Result<Integer> updateStrengthData(List<SaveSD> saveSDList);
//    Result<Integer> updateNewTable(List<SaveTable> saveTableList);

}

